<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>

	<f:loadBundle var="messages" basename="messages" />

	<head>

	<title>Login Social Code</title>

	<style type="text/css">
.jscalendar-DB-div-style {
	position: absolute;
	margin-top: -69px;
	margin-left: -408px;
}
</style>

	<style type="text/css">
@import
	url(#{facesContext.externalContext.requestContextPath}/styles/myfaces.css)
	;
</style>
	<style type="text/css">
.usuario {
	color: blue;
	font-weight: bold;
	font-style: oblique;
}
</style>

	</head>

	<h:messages errorClass="error" layout="table" style="width: 100%" />

	<h1>Seja Bem Vindo ao Social Code.</h1>

<h2>Noticias Recentes</h2>
	<h:form id="editNoticia">
		<h:dataTable value="#{noticiaList.noticiasByDate}" var="noticia">
			<h:column>
				<div class="noticia"><img class="capaNoticia"
					src="images/usuario/Heuler.jpg" />
				<div class="metadadosNoticia">
				<div class="usuario"><h:outputText
					value="#{noticia.usuario.nome}" /></div>
				<h:commandLink action="#{noticiaForm.edit}" value="#{noticia.tags}">
					<f:param name="id" value="#{noticia.id}" />
				</h:commandLink> <br />
				<h:outputText value="#{noticia.descricao}" /></div>
				</div>
			</h:column>
		</h:dataTable>
	</h:form>

</f:view>

</html>